setGlobalDuration(10)

# A sine wave with amplitude envelope and pitch variation
env = genAdsr()
randomi(bus='pit', mini=.95, maxi=1.05)
sine(pitch=500, amplitude=.5, envelope=env, pitchVar='pit')
startCsound()
